DescribeEniMonitorData
Description
the call DescribeEniMonitorData queries the traffic information used by a secondary network card within the specified time period.
Request Method
POST
Request Path
/apsara/route/Ecs/DescribeEniMonitorData
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
EndTime | BODY | string | Yes | 2018-05-21T12:22:00Z | end time of data acquisition. According to the ISO8601 standard and using UTC +0 time, the format is yyyy-MM-ddTHH:mm:ssZ. If the specified second (ss) is not 00, it is automatically converted to the next minute. |
EniId | BODY | string | No | eni-m5e0ajic0vbwx7l3**** | ID of the secondary network card. by default, all the bound secondary network cards on the specified instance are queried. |
InstanceId | BODY | string | Yes | i-m5e88p52tbip9r2x**** | instance ID bound to the secondary network card. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
StartTime | BODY | string | Yes | 2018-05-21T12:19:00Z | the starting point of obtaining data. According to the ISO8601 standard and using UTC +0 time, the format is yyyy-MM-ddTHH:mm:ssZ. If the specified second (ss) is not 00, it is automatically converted to the next minute. |
Period | BODY | integer | No | 60 | the interval between obtaining monitoring data, in seconds. Value range: 60 600 3600 default value: 60 |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | region ID. You can call the DescribeRegions to view the latest Alibaba Cloud region list. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}